<template>
	<view>
		<view class="padding rowsb solid-bottom">
			<view>公司名称</view>
			<input type="text" value="" placeholder="请输入" />
		</view>
		<view class="padding rowsb solid-bottom">
			<view>联系人</view>
			<input type="text" value="" placeholder="请输入" />
		</view>
		<view class="padding rowsb solid-bottom">
			<view>公司地址</view>
			<picker mode="region" @change="RegionChange" :value="region">
				<view class="picker">
					{{region[0]}}，{{region[1]}}，{{region[2]}}
				</view>
			</picker>
		</view>
		<view class="padding rowsb solid-bottom">
			<view>公司分类</view>
			<input type="text" value="" placeholder="请输入" />
		</view>
		<view class="padding rowsb solid-bottom">
			<view>公司联系方式</view>
			<input type="text" value="" placeholder="请输入" />
		</view>
		<view class="padding rowsb solid-bottom">
			<view>营业执照</view>
		</view>
		<view class="cu-form-group">
			<view class="grid col-4 grid-square flex-sub">
				<view class="bg-img" v-for="(item,index) in upImgList" :key="index" :data-url="upImgList[index]"
					@click.stop="previewImages(index,upImgList)">
					<image :src="upImgList[index]" mode="aspectFill"></image>
					<view class="cu-tag bg-red" @tap.stop="DelImg" :data-index="index">
						<text class='cuIcon-close'></text>
					</view>
				</view>
				<view class="solids" @tap="ChooseImage" v-if="upImgList.length<1">
					<text class='cuIcon-cameraadd'></text>
				</view>
			</view>
		</view>
		<view class="padding text-center page-bg round text-white margin " @click="profile">
			保存
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				region: ['广东省', '广州市', '海珠区'],
				upImgList:[]
			}
		}
	}
</script>

<style>
	input {
		text-align: right;
	}
	.page-bg{
		background-color: #FFA200;
	}
	
	
	
</style>
